package com.stu.boke.service;

import java.util.List;

import com.stu.boke.entity.User;

public interface UserService {

	void updateUser(User user);

	User getUserByNameOrEmail(String username);

	void deleteUser(Integer id);

	User getUserById(Integer id);

	User getUserByEmail(String email);

	User getUserByName(String username);

	List<User> listUser();

	User insertUser(User user);

}
